
import usePriceStore from "../../store/price.jsx";

const B = () => {

    const { price, addPrice } = usePriceStore();
    console.log('price ===>',price);
    
    return (
        <div>

            <h1>{price}</h1>
            <button onClick={() => addPrice(100)}>add</button>
        </div>
    );
};

export default B;